import request from '@/utils/request'

export function login (data) {
  return request({
    url: '/pc/management/user/getMsg',
    method: 'post',
    data
  })
}

export function getInfo() {
  return request({
    url: '/pc/management/user/getMsg',
    method: 'post',
   data:{ token: 'f984c0c3943a1d17fcd1fbfb48ec1d1e', uid:1}
  })
}

export function logout () {
  return request({
    url: '/user/logout',
    method: 'post'
  })
}
